package com.lsege.service.backstage;

import com.lsege.entity.backstage.Bike;
import com.lsege.entity.backstage.VoBike;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * Created by lsd on 2017-06-27.
 */
public interface BikeService {

    void addBikeInfo(Bike bike);

    Long selectBikeCode(String bikeCode);

    List<VoBike> getBikeList();

    Long getBikeListNum();

    void deleteBike(String bicycleCode);

    String addBatchBike(MultipartFile file) throws IOException, InvalidFormatException;

    List<VoBike> getBikeByCity(VoBike voBike);

    Long getBikeByCityCount(VoBike voBike);

    List<VoBike> getBikeByAccount(VoBike voBike);

    Long getBikeByAccountCount(VoBike voBike);

}
